package com.iotek.ssm.pojo;

import java.util.Date;

/**
 * 部门培训表
 */
public class Train {
    private Integer id;
    private String details;//培训主题
    private Date startTime;//培训开始时间
    private Integer duration;//培训持续时间
    private Section section;//培训部门
    private Integer looked;//部门领导是否查看

    public void setId(Integer id) {
        this.id = id;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public void setSection(Section section) {
        this.section = section;
    }

    public void setLooked(Integer looked) {
        this.looked = looked;
    }

    public Integer getId() {
        return id;
    }

    public String getDetails() {
        return details;
    }

    public Date getStartTime() {
        return startTime;
    }

    public Integer getDuration() {
        return duration;
    }

    public Section getSection() {
        return section;
    }

    public Integer getLooked() {
        return looked;
    }

    @Override
    public String toString() {
        return "Train{" +
                "id=" + id +
                ", details='" + details + '\'' +
                ", startTime=" + startTime +
                ", duration=" + duration +
                ", section=" + section +
                ", looked=" + looked +
                '}';
    }
}
